summaryrefslogtreecommitdiff
path: root/app/src/routes/assignments/[assignmentId]/+page.svelte
blob: 0b36a196279463911858ce6d60e463c44c550ac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<script lang="ts">
	import type { PageProps } from "./$types";

	let { data }: PageProps = $props();

	const assignmentDate = $derived(new Intl.DateTimeFormat().format(data.assignment.date));
</script>

<svelte:head>
	<title>Opgave på {data.cemetaryPlot.address}</title>
</svelte:head>

<h1>Assignment #{data.assignment.id}</h1>
<p>
	Gravstedet, der skal vedligeholdes er ved <span class="address">{data.cemetaryPlot.address}</span
	>.
</p>
<p>Vedligeholdelsen skal finde sted <time>{assignmentDate}<time>.</time></time></p>

<style>
	.address,
	time {
		font-weight: bold;
	}
</style>